x86/amd: re-enable CPU topology extensions in case BIOS has disabled it
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Thu, 31 May 2012 08:15:42 +0000 (10:15 +0200)
committerAndreas Herrmann <andreas.herrmann3@amd.com>
Thu, 31 May 2012 08:15:42 +0000 (10:15 +0200)
commitef4abe73e1a406fa1a9733324d1d5224241db38b
treeae15921eb51e4bf321b720b24c349cb0b8ffd217
parent54d70ad278e98ada4a25c2171cb8a3a24466777e
x86/amd: re-enable CPU topology extensions in case BIOS has disabled it

BIOS will switch off the corresponding feature flag on family
15h models 10h-1fh non-desktop CPUs.

The topology extension CPUID leafs are required to detect which
cores belong to the same compute unit. (thread siblings mask is
set accordingly and also correct information about L1i and L2
cache sharing depends on this).

W/o this patch we wouldn't see which cores belong to the same
compute unit and also cache sharing information for L1i and L2
would be incorrect on such systems.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/amd.c